<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Begin header.tpl -->
<html>
<head>
<title>{$title}</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../FOX/themes/ext-all.css" />
<link rel="stylesheet" type="text/css" href="../FOX/themes/xv-form.css" />
<link rel="stylesheet" type="text/css" href="../FOX/themes/xv-grid.css" />
<link rel="stylesheet" type="text/css" href="../FOX/themes/fox-grid.css" />
{if $smarty.get.print eq "true"}
<link rel="stylesheet" type="text/css" href="css/print.css" />
{else}
<link rel="stylesheet" type="text/css" media="screen" href="css/default3.css" />
{/if}

<link rel="stylesheet" type="text/css" media="all" href="skins/aqua/theme.css" title="Aqua" />
<script type="text/javascript" src="/FOX/includes/javascripts/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/jquery-ui-1.8.6.custom.min.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/jquery-metadata.min.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/jquery-fox.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/superTables.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/class.table.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/class.grid.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/init.js"></script>
<script type="text/javascript" src="/FOX/includes/javascripts/class.site.js"></script>

<script type="text/javascript" src="includes/javascript/calendar.js"></script>
<script type="text/javascript" src="includes/javascript/calendar-en.js"></script>
<script type="text/javascript" src="includes/javascript/calendar-setup.js"></script>


<script type="text/javascript" src="includes/javascript/class.cghd.js"></script>
<script type="text/javascript" src="includes/javascript/class.drag.js"></script>
<script type="text/javascript" src="includes/javascript/class.fader.js"></script>
<script type="text/javascript" src="includes/javascript/class.html.js"></script>
<script type="text/javascript" src="includes/javascript/class.motion.js"></script>
<script type="text/javascript" src="includes/javascript/class.help.js"></script>
<script language="javascript" src="includes/javascript/msg-{$lg->langu}.js"></script>
{include file="javascript.tpl"}
</head>

{if !empty($smarty.session.userid)}
<body id="sbody" bgcolor="#FFFFFF" onLoad="loader(); return true;" onUnLoad="unloader(); return true;">

{if empty($smarty.get.nonav)}
	{$dvers}
	<div id="idusr" >{$lg->msg_welcome}
	 {uname_detail id =$smarty.session.userid} | <a href="?module=prefs">{$lg->preferences}</a> | <a href="?logout=true">{$lg->logout}</a>
	</div>
	<div id="dlogo">
		<img src="{$smarty.env.imgs.logo}" alt="VISEO" />
	<br><br>
	</div>
	<div id="dvmsg" >xx</div>
{/if}

{else}
<body id="sbody"  bgcolor="#FFFFFF">
{/if}
<!-- End header.tpl -->